/*
 * @Description:
 * @LastEditTime: 2022-10-20 10:02:58
 * @LastEditors: 刘仁秀
 * @Author: 刘仁秀
 * @Date: 2022-09-02 15:21:16
 */
let baseUrl = '';
let imgUrl = '';
// 开发环境
if (process.env.NODE_ENV === 'development') {
  baseUrl = 'https://yihetong-api.yi-types.com';
  imgUrl = 'https://yihetong-api.yi-types.com/r/';
}
// 生产环境
if (process.env.NODE_ENV === 'production') {
  baseUrl = 'https://yihetong-api.yi-types.com';
  imgUrl = 'https://yihetong-api.yi-types.com/r/';
}

export default {
  baseUrl,
  imgUrl,
};
